<?php
/**
 * template for displaying open graph data
 * @see template_preprocess_link_helper_og_data()
 */
?>

<?php drupal_add_css(drupal_get_path('module', 'link_helper') . '/link_helper.css', array('group' => CSS_DEFAULT, 'every_page' => FALSE)); ?>
<?php if(isset($thumbnail)): ?>
  <div class="link-wrapper-image-left">
    <?php print $thumbnail; ?>
  </div>
<?php endif; ?>

<div class="<?php print isset($thumbnail) ? 'link-wrapper-info-right' : '' ?>">
  <?php if(isset($linked_title)): ?>
    <h5><?php print $linked_title ?></h5>
  <?php endif; ?>
  <?php if(isset($description)): ?>
    <p><?php print $description ?></p>
  <?php endif; ?>
</div>
